<?php
$comment = $item;
$pagename = getNameFromId($comment['pageid']);
$person = $comment['name'];
?>
<item>
	<title>Comment on <?php echo $pagename ?> by <?php echo $person ?></title>
	<description><![CDATA[<p><strong><?php echo $person ?> (<?php echo ipLink($comment['IP']) ?>) commented on <?php echo getLink('show',$pagename) ?></strong></p>
	<p><?php echo parselinks(textilize($comment['body'])) ?></p>]]></description>
	<pubDate><?php echo date("r",$comment['time']) ?></pubDate>
	<dc:creator><?php echo $comment['name'] ?></dc:creator>
	<link><?php echo getURL('discuss',$pagename)."#".$comment['time'] ?></link>
</item>
